package ioc;

// 轮胎
public class Tire {

    private int size = 20; // 轮胎尺寸
    private String color;

    public Tire(int size, String color) {
        this.size = size;
        this.color = color;
    }

    public void init() {
        System.out.println("执行了轮胎初始化方法, size: " + this.size + " | color: " + this.color);
    }
}
